
package com.servicesDirectory.action.lookup;

import com.opensymphony.xwork2.ActionSupport;
import com.servicesDirectory.common.vo.AddressVO;
import com.servicesDirectory.dao.lookup.BaseLookupDAOImpl;
import java.util.List;


public class AddressLookupAction extends ActionSupport {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected AddressVO address;   
    private List<AddressVO> list;
    
    @Override
    public String execute() {
        BaseLookupDAOImpl blDAO = new BaseLookupDAOImpl();        
           
        this.list = blDAO.addressLookup(address);
        return SUCCESS;
    }

    public AddressVO getAddress() {
        return address;
    }

    public void setAddress(AddressVO address) {
        this.address = address;
    }

    public List<AddressVO> getList() {
        return list;
    }

    public void setList(List<AddressVO> list) {
        this.list = list;
    }

    @Override
    public void validate() {
    }

   
}
